import Mock from 'mockjs'

export default [
  {
    url: '/patient/message/sys/list',
    method: 'get',
    response: () => {
      const data = []
      for (let i = 0; i < 10; i++) {
        data.push(
          Mock.mock({
            title: '@ctitle(3, 5)',
            id: '@id',
            type: '@integer(1,3)',
            content: '@ctitle(3, 5)',
            status: '@integer(0,1)',
            createTime: '@time("HH:mm:ss")',
            image: '@image(100x100)'
          })
        )
      }

      return {
        code: 10000,
        message: '模拟数据成功',
        data
      }
    }
  }
]
